package com.mbyte.easy.stu.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mbyte.easy.stu.entity.TStudents;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TStudentsMapper{


    int deleteByPrimaryKey(Long id);    //数据类型+方法名+（传入的参数）

    int insert(TStudents tStudents);

    int deleteAll(List<Long> ids);

    int updateByPrimaryKey(TStudents tStudents);

    IPage<TStudents> find(Page<TStudents> tStudentsPage,@Param("tStudents") TStudents tStudents, String startUpdatetime, String endUpdatetime,String startCreatetime,String endCreatetime);

    TStudents selectByPrimaryKey(Long id);


}
